<template>
  <div class="not-found">
    <AppHeader />
    <div class="content">
      <h1>404</h1>
      <p>抱歉，你访问的页面不存在</p>
      <router-link to="/" class="home-link">返回首页</router-link>
    </div>
  </div>
</template>

<script setup lang="ts">
import AppHeader from '@/components/AppHeader.vue'
</script>

<style scoped>
.not-found {
  min-height: 100vh;
  background: #f5f5f5;
}

.content {
  max-width: 1200px;
  margin: 100px auto;
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 8px;
}

h1 {
  font-size: 72px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.home-link {
  display: inline-block;
  padding: 10px 24px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.home-link:hover {
  opacity: 0.8;
}
</style> 